#!/var/bin/env python
#
##############################

include ../tools/Makefile.base


test:   unit_test system_test clean   

system_test:                         
                     make -C test test  

unit_test:    
                     make -C src test  

clean:                         
                     make -C test clean                         
                     rm -rf inter.txt
                     rm -rf build dist temp phillias.egg-info 
                     rm -f src/*.pyc  
                     rm -f src/mod/*.pyc   
                     rm -f test/*.pyc     
                     rm -f test/.phillias_metrics.log 
                     
upload: test
./setup.py sdist upload 


$ cd /usr/ports/devel/mercurial
$ make install


